<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
    <title>美策平台</title>
    <link rel="icon" type="image/png" href="/img/icon.png">
    <link rel="stylesheet" type="text/css" href="../../datepicker/jquery-ui.min.css">
    <link rel="stylesheet" type="text/css" href="../../css/app.css">
    <link rel="stylesheet" type="text/css" href="../../css/index.css">
    <script type="text/javascript" src="../../js/jquery.min.js"></script>
    <script type="text/javascript" src="/h5/js/all.js"></script>
    <link rel="stylesheet" type="text/css" href="/h5/css/all.css">
</head>
<body style="font-size: 12px;">
<!--
    制作者：九哥
    页面：岗位页面
    时间：2019-03-01
-->





<!----------岗位页面---------->
<div id="jobPage"><!--此ID页面切换用-->

    <div id="jobDetail" class="jobs_ulDiv">
        <ul class="jobs_ul"></ul>
    </div>

</div>
<!----------岗位页面---------->





<!----------错误提示---------->
<div id="errMsg"></div>
<!----------错误提示---------->
</body>
<!--<script type="text/javascript" src="../../js/indexPageChange.js"></script>-->
<!--<script type="text/javascript" src="../../js/index.js"></script>-->
<script type="text/javascript" src="../../js/cache.js"></script>
<script type="text/javascript" src="../../js/app.js"></script>
</html>

<script type="text/javascript">
    var list=new MC.Page("#jobPage",'/api/home/recruit/index',{},
        function(resData,page){
        if(page==0&&resData.length==0){
            var h = '';
                h += '<table class="toJobShow">';
                h += '<tr>';
                h += '<td colspan="2" style="text-align:center;">没有信息</td>';
                h += '</tr>';
                h += '</table>';
                $('#jobDetail').html(h);
                $('.btn').hide();
                getAppErrMsg(res.msg,'',0);
                return;
        }else{
            MC.View.jobs_ul('#jobDetail .jobs_ul',resData);
            console.log(resData);
        }
    });
    list.init();
    function getJobShow(id){
        window.location.href = 'jobShow.html?jobId='+id;
    }
    H5.TitleBar.create("岗位招聘");
</script>